import {createRouter,createWebHistory} from "vue-router";

const routes = [
    {
        path:'/',
        component: ()=>import("../views/home.vue")
    },
    {
        path:'/login',
        component: ()=>import("../views/login.vue")
    },
    {
        path:'/reg',
        component:()=>import("../views/reg.vue")
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes,
})

export default router
